Ignore more output
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 30 Jan 2017 21:36:52 +0000 (22:36 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 31 Jan 2017 17:19:45 +0000 (18:19 +0100)
tests/build-script.rs

index c3314d6acc92440c1e62b2d27768bc22c60ebc59..74297a86e351743ad69e20a2ad06dcebcdb9a895 100644 (file)
@@ -1379,7 +1379,7 @@ fn cfg_test() {
 [RUNNING] `[..][/]test-[..][EXE]`
 [DOCTEST] foo
 [RUNNING] [..] --cfg foo[..]", dir = p.url()))
-                       .with_stdout_contains("
+                       .with_stdout("
 running 1 test
 test test_foo ... ok
 
@@ -1393,8 +1393,7 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
 
 
 running 1 test
-test ")
-                       .with_stdout_contains("libs.rs - line 3 ... ok
+test [..] ... ok
 
 test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
 
@@ -1497,7 +1496,7 @@ fn cfg_override_test() {
 [RUNNING] `[..][/]test-[..][EXE]`
 [DOCTEST] foo
 [RUNNING] [..] --cfg foo[..]", dir = p.url()))
-                       .with_stdout_contains("
+                       .with_stdout("
 running 1 test
 test test_foo ... ok
 
@@ -1511,8 +1510,7 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
 
 
 running 1 test
-test ")
-                       .with_stdout_contains("lib.rs - line 3 ... ok
+test [..] ... ok
 
 test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured